import Router from '../decorator/router'
import utils from '../utils' // 引入工具类

export const router = app => {
  const apiPath = utils.resolve('src/routes')
  const router = new Router(app, apiPath)

  router.init()
}
